<?php
use yii\helpers\Url;

?>
<div class="i-recommend">
    <div class="wrapper">
        <div class="i-title">快捷服务</div>
        <div class="ir-con">
            <?php foreach ($models as $k => $model): ?>
            <a href="<?= Url::to(['product/detail', 'id' => $model['id']]); ?>">
                <div class="recommend-01">
                    <ul>
                        <li><i class="rec-0<?= ++$k; ?>"></i></li>
                        <li><?= $model['a']; ?></li>
                        <li><?= $model['b']; ?></li>
                    </ul>
                    <h3><?= $model['title']; ?></h3>
                    <span>价格:<b><?= $model['money']; ?></b>元</span>
<!--                    <span>服务费：<b>--><?//= $model['f_money']; ?><!--</b>元</span>-->
                </div>
            </a>
            <?php endforeach; ?>
         </div>
    </div>
</div>
